package com.crrcdt.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 神瑛侍者 on 2020/8/30.
 * @version 1.0
 */
@Component
@FeignClient(value = "PROVIDER")
public interface TicketFeignClient {
    @GetMapping("/ticket/sellTicket")
    public String getTicket();
}
